<body class="nobackground">
	<div id="login">
		<h1 class="logo">
			<a href="">flexy - adjustable admin skin</a>
		</h1>
		<h2 class="loginheading"><?=$this->lang->line ('RAIN_auth_login');?></h2>
		<div class="icon_login ie6fix"></div>
		<form id="login-form" action="/auth/login" method="post">
			<p>
				<label for="name"><?=$this->lang->line ('RAIN_auth_email');?></label>
				<input class="input-medium" type="text" value="<?=set_value('login');?>" name="login" id="name" />
			</p>
			<p>
				<label for="password"><?=$this->lang->line ('RAIN_auth_password');?></label>
				<input class="input-medium" type="password" value="" name="password" id="password" />
			</p>
			<p class="remember">
				<label for="checkbox1" class="inline"><?=$this->lang->line ('RAIN_auth_remember');?></label>
				<input type="checkbox" value="1" name="remember" id="checkbox1" />
			</p>
			<div class="forgot_pw"><a href="index.html"><?=$this->lang->line ('RAIN_auth_forgotpw');?></a></div>
			<p class="clearboth">
				<input class="button" name="submit" type="submit" value="<?=$this->lang->line ('RAIN_auth_login');?>"/>
			</p>
		</form>
	</div>
	<?=form_error('login');?>
	<?=form_error('password');?>
	<?=form_error('remember');?>
<?php if (isset ($error)):?>
		<div class="login_message message error">
			<p><?=$error?></p>
		</div>
<?php endif;?>
</body>
</html>